<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core">
 
    <h:head>        
        <title>Sistema Exemplo</title>
		<link rel="stylesheet" type="text/css" href="css/estilos.css"/>
    </h:head>
    <h:body>
        <p:layout fullPage="true">
    		<p:layoutUnit position="north" size="110">  
        		<h1 align="center">				
				<h:outputText value="Cabeçalho" />
        		</h1>        		
    		</p:layoutUnit>  
  
    		<p:layoutUnit position="south" size="110">
        		<h1 align="center">Rodapé</h1>        		  
    		</p:layoutUnit>
  
		    <p:layoutUnit position="west" size="215" resizable="true">  
		        <h:form> 
                    <p:menu style="width:190px">
                        <p:submenu label="Menu">
                        	<p:menuitem value="Início" icon="ui-icon-home" url="index.jsf" />
                            <p:menuitem value="Manter Entidades" icon="ui-icon-disk" action="#{entidadeBean.listarEntidades}" />                            
                            <p:menuitem value="Manter Associações" icon="ui-icon-disk" 
                            	action="#{associacaoBean.listarAssociacoes}" />
                        </p:submenu>
                    </p:menu>
		        </h:form>  
		    </p:layoutUnit>
		    
		    <p:layoutUnit position="center">  
		        <ui:insert name="centro">
                        O que estiver aqui será substituido!
                </ui:insert>
		    </p:layoutUnit>
		</p:layout>
    </h:body>
</html>